Skip to content

Xenomai rootless and fixes#4240

Open
hdiethelm wants to merge 4 commits into
LinuxCNC:masterfrom
hdiethelm:xenomai_nonroot
Open

Xenomai rootless and fixes#4240
hdiethelm wants to merge 4 commits into
LinuxCNC:masterfrom
hdiethelm:xenomai_nonroot

Conversation

@hdiethelm

@hdiethelm hdiethelm commented Jul 13, 2026

Copy link
Copy Markdown
Contributor

This PR has 3 commits:

This needs libevl >= 59-1 from https://github.com/hdiethelm/xenomai4-linuxcnc where the udev rules are installed. Of course, this can also be done manually. The rules are here: https://github.com/hdiethelm/xenomai4-linuxcnc/blob/lfs/libevl-debian/udev/90-libevl.rules

Tested and works both with Xenomai3 / Xenomai4 EVL.

@hdiethelm hdiethelm changed the title Xenomai nonroot + Fixes Xenomai rootless and fixes Jul 13, 2026
Comment thread src/rtapi/uspace_rtapi_main.cc
Comment thread src/rtapi/uspace_rtapi_main.cc Outdated
If this fails, everything beaks and there are many error messages.
So better abort here.
This allows to run without setuid given the correct group membership
and Xenomai access configuration
These functions are used only in if(detect_*) so return type bool makes
more sense.
@hdiethelm

Copy link
Copy Markdown
Contributor Author
  1. force push: rebase master
  2. force push: check for gid == 0 and improve warning

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants